package com.lanchetech.user.service;


import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.VideoVO;
import com.lanchetech.entity.User;
import com.lanchetech.entity.Video;

public interface VideoService {
    ResultData<VideoVO> getVideoDetail(User user, Long id);

    BaseResp editVideo(Video video);

    ResultData<BasePageResp<VideoVO>> getVideoPage(User user, PageReq req);

    BaseResp deleteVideo(Long id);

    BaseResp toggleVideoGoods(Long id);

}